APPENDIX D
Previous Section Next Section Table of Contents Index Errata

LScript Macintosh Notes

The PowerMac port of LScript has been designed to provide or emulate all the features available on other LightWave 3D platforms. With three notable exceptions, this goal has been achieved. Scripts written or compiled on any other LightWave 3D platform can be executed without modification on the PowerMac platform.

The exceptions that need to be noted concerning the PowerMac port of LScript concern the system(), systemex(), and matchfiles() commands. These commands can be included in any PowerMac LScript, but their behaviors have been altered. This alteration is largely the result of the lack of any operating system-intrinsic command interpreter (a.k.a., shell process) that would otherwise provide functionality required by these commands.

Both the system() and systemex() commands return 'nil' under the PowerMac version of LScript, and completely ignore any parameters provided. This is because shell processing is intrinsicly unknown to the MacOS.

The matchfiles() command continues to function, however, it will ignore the file pattern parameter. Again, this is because there is no available command interpreter under the MacOS to provide pattern matching for this function. On the PowerMac, this command returns all files located in the specified directory, without regard to the indicated pattern.

Beyond these limitations, the PowerMac version of LScript functions identically in both features and functionality to that of other LightWave 3D platforms.


Previous Section Next Section Table of Contents Index Errata
© 1996 Virtual Visions, Inc.
© 1997 NewTek, Inc.